package com.eccloud.service.impl;

import com.eccloud.service.HelloRemote;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by yunfeng.wang on 2019/3/27.
 */
@Component
public class HelloRemoteHystrix implements HelloRemote {

    @Override
    public String hello(@RequestParam(value = "name") String name) {
        return "say Hello"+name+", fail!!!";
    }
}
